﻿using System;


namespace BGM.Domain.DTO
{
    public class Patient
    {
        string name;
        string ssn;
        Levels levelIndicator = new Levels();
        TimeSettings times = new TimeSettings();


        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string Ssn
        {
            get { return ssn; }
            set { ssn = value; }
        }
        public Levels LevelIndicator
        {
            get { return levelIndicator; }
            set { levelIndicator = value; }
        }
        public TimeSettings Times
        {
            get { return times; }
            set { times = value; }
        }

        public class Levels
        {
            int low;
            int high;

            public int Low
            {
                get { return low; }
                set { low = value; }
            }
            public int High
            {
                get { return high; }
                set { high = value; }
            }
        }
        public class TimeSettings
        {
            DateTime morning, midtDay, dinner, night;

            public DateTime Morning
            {
                get { return morning; }
                set { morning = value; }
            }

            public DateTime MidtDay
            {
                get { return midtDay; }
                set { midtDay = value; }
            }

            public DateTime Dinner
            {
                get { return dinner; }
                set { dinner = value; }
            }

            public DateTime Night
            {
                get { return night; }
                set { night = value; }
            }

        }
    }
}
